package cn.disignPattern.com.partOne;

public class DuckCall {

    protected QuackBehavior quackBehavior;

    public void setQuackBehavior(QuackBehavior quackBehavior) {
        this.quackBehavior = quackBehavior;
    }

    public void performQuck(){
        quackBehavior.quack();
    }
}